﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Passwords.DAL
{
    public enum PasswordError
    {
        Success,

        /// <summary>
        /// Password must have at least 4 characters.
        /// </summary>
        TooShort,

        /// <summary>
        /// new password and confirm password are not identical.
        /// </summary>
        NoMatch,

        /// <summary>
        /// old password does not match.
        /// </summary>
        WrongPassword,

        /// <summary>
        /// unknown exception raised during change.
        /// </summary>
        Failed
    }
}
